<template>
  <Select v-model="model1" style="width: 25%">
    <Option v-for="item in cityList" :value="item.value" :key="item.value">{{ item.label }}</Option>
  </Select>
</template>
<script>
  export default {
    name: 'ComSelect',
    data () {
      return {
        cityList: [
          {
            value: 'uid',
            label: '用户id'
          },
          {
            value: 'username',
            label: '姓名'
          },
          {
            value: 'phone',
            label: '手机号码'
          },
          {
            value: 'address',
            label: '地址'
          },
          {
            value: 'age',
            label: '年龄'
          },
          {
            value: 'city',
            label: '城市'
          }
        ],
        model1: ''
      }
    }
  }
</script>
